{include file="public/header"/}
<style>
	html,body{background-color: #fff;}
	.editPopupBox{
		width: 100%;
		height: auto;
		padding: 20px 30px;
		box-sizing: border-box;
	}
</style>
	<div id="manage-wrap" class="manage-wrap editPopupBox">
	<form id="manage-form" action="#" novalidate="novalidate">
		<ul class="mod-form-rows">
			
			<li class="row-item">
				<div class="label-wrap"><span class="red spe_red">*</span><label for="name">类别:</label></div>
				<div class="ctn-wrap">
					<span class="ui-combo-wrap ui-combo-active" style="width: 208px;">
						<input type="text" class="input-txt" autocomplete="off" style="width: 182px;" id="name" name="name">
					</span>
				</div>
			</li>
		</ul>
	</form>
	
</div>
<script>
	$("#btn-add").click(function(){
		$.ajax({
		    type: 'POST',
		    url: "save.html",
		    data: $("#manage-form").serialize(),
		    dataType: "json",
		    async: false,
		    error: function (request) {
		        alert("发送请求失败！");
		    },
		    success: function (data) {
		        if (data.status == 1) {
		        	alert(data.msg);
		        } else {
		            alert(data.msg);
		        }

		    }
		});
	})
</script>
{include file="public/footer"/}
		
